package dk.dashboardFP.panels.introspectionPanel {
	import dk.dashboardFP.panels.panelElements.AbstractDashboardFPPanel;
	import dk.dashboardFP.panels.subPanels.AbsDashboardFPSubPanel;
	import dk.dashboardFP.panels.subPanels.ui.windowSubPanelUI.WindowSubPanelUI;

	/**
	 * @author josef
	 */
	public class IntrospectionSubPanelUI extends WindowSubPanelUI {
		private var _searchFieldElement : InputElementDFP;

		public function IntrospectionSubPanelUI(oDashboarFPPanel : AbstractDashboardFPPanel, oSubPanel : AbsDashboardFPSubPanel) {
			super(oDashboarFPPanel, oSubPanel);
			
			//:::::::
			// alter window offset to make room for search
			_nWindowOffsetY=50;
		}

		
		override protected function setupWindowElements() : void {
			super.setupWindowElements();
			setupSearchElements();
		}
		
		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
		// setup search elements
		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

		private function setupSearchElements() : void {
			
			_searchFieldElement=new InputElementDFP("Search");
			addElement(_searchFieldElement);
		}
		
		public function get searchFieldElement() : InputElementDFP {
			return _searchFieldElement;
		}
	}
}
